package com.ruoyi.project.dj.service.impl;

import com.ruoyi.project.dj.domain.DjStandardScoringMethod;
import com.ruoyi.project.dj.mapper.DjStandardScoringMethodMapper;
import com.ruoyi.project.dj.service.IDjStandardScoringMethodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 支部标准化 - 评分办法表
 */
@Service
public class DjStandardScoringMethodServiceImpl implements IDjStandardScoringMethodService {
    @Autowired
    private DjStandardScoringMethodMapper djStandardScoringMethodMapper;

    @Override
    public List<DjStandardScoringMethod> selectDjStandardScoringMethodList(DjStandardScoringMethod djStandardScoringMethod) {
        return djStandardScoringMethodMapper.selectDjStandardScoringMethodList(djStandardScoringMethod);
    }

    @Override
    public DjStandardScoringMethod selectDjStandardScoringMethodById(Integer id) {
        return djStandardScoringMethodMapper.selectDjStandardScoringMethodById(id);
    }

    @Override
    public int insertDjStandardScoringMethod(DjStandardScoringMethod djStandardScoringMethod) {
        return djStandardScoringMethodMapper.insertDjStandardScoringMethod(djStandardScoringMethod);
    }

    @Override
    public int updateDjStandardScoringMethod(DjStandardScoringMethod djStandardScoringMethod) {
        return djStandardScoringMethodMapper.updateDjStandardScoringMethod(djStandardScoringMethod);
    }

    @Override
    public int deleteDjStandardScoringMethodById(Integer id) {
        return djStandardScoringMethodMapper.deleteDjStandardScoringMethodById(id);
    }
}